package com.liuchuanzheng.lcz_wanandroid.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.liuchuanzheng.lcz_wanandroid.R
import com.liuchuanzheng.lcz_wanandroid.net.Article

class HomeAdapter : BaseQuickAdapter<Article, BaseViewHolder>(R.layout.item_home_list),
    LoadMoreModule {

    override fun convert(holder: BaseViewHolder, item: Article) {
        holder.setText(R.id.tvName, item.title)


    }
}